﻿using BarManager.UI.Web.HtmlHelpers;
using System.Collections.Generic;

namespace BarManager.UI.Web.Models
{
    public abstract class BaseViewModel<TEntity, TKey> where TEntity : class
    {        
        public TKey Id { get; set; }
        public IEnumerable<TEntity> Entities { get; set; }
        public TEntity Entity { get; set; }
        public PagingInfo PagingInfo { get; set; }
        public string Filter { get; set; }
    }
}
